package io;

/**
 * @author liyang
 * @version 1.0
 * @package io
 * @file BinaryDemo03.java
 * @description
 * @time 2024-03-26 17:50
 */
public class BinaryDemo03 {
    public static void main(String[] args) {
        int n = 0x2eb73737;
        int b4 = n & 0xff;
        int b3 = (n>>>8) & 0xff;
        int b2 = (n>>>16) & 0xff;
        int b1 = (n>>>24) & 0xff;
        System.out.println(Integer.toBinaryString(n));
        System.out.println(Integer.toBinaryString(b4));
        System.out.println(Integer.toBinaryString(b3));
        System.out.println(Integer.toBinaryString(b2));
        System.out.println(Integer.toBinaryString(b1));

    }
}
